package com.luodim.ruledemo;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

import com.luodim.ruledemo.view.ContentView;

public class MainActivity extends AppCompatActivity {

    private ContentView mContent;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        mContent = (ContentView) findViewById(R.id.view_content);
        mContent.setSrc(R.drawable.share_selected);
    }
}
